package com.icloud.article.boot.dao;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.icloud.common.database.model.TRewardOrderItem;
import com.icloud.article.boot.vo.StatisticsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 打赏dao
 */
public interface RewardDao {

    /**
     * 根据帖子查询点赞数量
     * @param wrapper
     * @return
     */
    List<StatisticsVo> queryRewardAmountByArticle(@Param("ew") Wrapper<TRewardOrderItem> wrapper);

}
